home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 1 / Cream of the Crop 1.iso / CAD / PKEY11_1.ARJ / GS.LSP < prev    next >
Text File  |  1992-03-14  |  394b  |  14 lines

  1. ;Set text Stlye by picking existing
  2. ;
  3. ;                     ********Patrick J. McKee, author********
  4. ;                       ****Copyright 1992, Power Key tm****
  5. ;
  6. (defun c:gs (/ a b c d)
  7. (graphscr)
  8. (prompt "\nSelect text to set style....")
  9. (setq a (entsel))
  10. (setq b (entget (car a)))
  11. (setq c (cdr (assoc 7 b)))
  12. (setq d (cdr (assoc 40 b)))
  13.   (command "style" c "" d "" "" "" "")
  14. )